package com.yuyuto.conn.model.request;

/**
 * Created by leay on 2017/5/27.
 */
public class RequestDto<T> {

    private String memberId;
    private String userId;

    private String sign;

    /**
     * yyyy-MM-dd HH:mm:ss
     */
    private String timestamp;

    private T data;

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "RequestDto{" +
                "memberId='" + memberId + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", data=" + data +
                '}';
    }
}
